/**
 * Copyright &copy; 2013-2016 山东易科德软件有限公司   All rights reserved.
 */
package cn.net.ecode.elec.entrust.entity;

import cn.net.ecode.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 一键委托Entity
 * @author AlanShelby
 * @version 2019-09-08
 */
public class ElecEntrust extends DataEntity<ElecEntrust> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// 姓名
	private String phone;		// 手机号
	private String description;		// 描述
	private String customer;		// 客户代表
	private String imageUrl;		// 头像地址
	private String areaName;		// 地区类型
	
	public ElecEntrust() {
		super();
	}

	public ElecEntrust(String id){
		super();
		this.id = id;
	}

	@Length(min=0, max=64, message="姓名长度不能超过 64 个字符")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=0, max=64, message="手机号长度不能超过 64 个字符")
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	@Length(min=0, max=255, message="描述长度不能超过 255 个字符")
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
	@Length(min=0, max=255, message="客户代表长度不能超过 255 个字符")
	public String getCustomer() {
		return customer;
	}

	public void setCustomer(String customer) {
		this.customer = customer;
	}
	
	@Length(min=0, max=255, message="头像地址长度不能超过 255 个字符")
	public String getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}
	
	@Length(min=0, max=255, message="地区类型长度不能超过 255 个字符")
	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}
	
}